package com.demo.pojo;

public class User {
    private String userid;
    private String fullname;
    private String password;
    private String telephone;
    private int type;


    public User() {
    }

    public User(String userid, String fullname, String password, String telephone, int type) {
        this.userid = userid;
        this.fullname = fullname;
        this.password = password;
        this.telephone = telephone;
        this.type = type;
    }

    /**
     * 获取
     * @return userid
     */
    public String getUserid() {
        return userid;
    }

    /**
     * 设置
     * @param userid
     */
    public void setUserid(String userid) {
        this.userid = userid;
    }

    /**
     * 获取
     * @return fullname
     */
    public String getFullname() {
        return fullname;
    }

    /**
     * 设置
     * @param fullname
     */
    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return telephone
     */
    public String getTelephone() {
        return telephone;
    }

    /**
     * 设置
     * @param telephone
     */
    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    /**
     * 获取
     * @return type
     */
    public int getType() {
        return type;
    }

    /**
     * 设置
     * @param type
     */
    public void setType(int type) {
        this.type = type;
    }

    public String toString() {
        return "User{userid = " + userid + ", fullname = " + fullname + ", password = " + password + ", telephone = " + telephone + ", type = " + type + "}";
    }
}
